package com.k8sops.backend.entity;

import com.k8sops.backend.common.DOSModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * User entity
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class User extends DOSModel {

    /**
     * Username
     */
    private String username;

    /**
     * Password
     */
    private String password;

    /**
     * Real name
     */
    private String realName;

    /**
     * Email
     */
    private String email;

    /**
     * Phone number
     */
    private String phone;

    /**
     * Status (0: disabled, 1: enabled)
     */
    private Integer status;

    /**
     * Last login time
     */
    private String lastLoginTime;
}
